#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet
# at http://www.illumos.org/license/CDDL.
#

#
# Copyright 2011, Richard Lowe
# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
#

include		$(SRC)/Makefile.master

MANSECT= 	3bsm

MANFILES= 	au_open.3bsm		\
	 	au_preselect.3bsm	\
	 	au_to.3bsm		\
	 	au_user_mask.3bsm	\
	 	getauclassent.3bsm	\
	 	getauditflags.3bsm	\
	 	getauevent.3bsm		\
	 	getfauditflags.3bsm

MANLINKS=	au_close.3bsm		\
		au_to_arg.3bsm		\
		au_to_arg32.3bsm	\
		au_to_arg64.3bsm	\
		au_to_attr.3bsm		\
		au_to_cmd.3bsm		\
		au_to_data.3bsm		\
		au_to_groups.3bsm	\
		au_to_in_addr.3bsm	\
		au_to_ipc.3bsm		\
		au_to_iport.3bsm	\
		au_to_me.3bsm		\
		au_to_newgroups.3bsm	\
		au_to_opaque.3bsm	\
		au_to_path.3bsm		\
		au_to_process.3bsm	\
		au_to_process_ex.3bsm	\
		au_to_return.3bsm	\
		au_to_return32.3bsm	\
		au_to_return64.3bsm	\
		au_to_socket.3bsm	\
		au_to_subject.3bsm	\
		au_to_subject_ex.3bsm	\
		au_to_text.3bsm		\
		au_write.3bsm		\
		endauclass.3bsm		\
		endauevent.3bsm		\
		getauclassent_r.3bsm	\
		getauclassnam.3bsm	\
		getauclassnam_r.3bsm	\
		getauditflagsbin.3bsm	\
		getauditflagschar.3bsm	\
		getauevent_r.3bsm	\
		getauevnam.3bsm		\
		getauevnam_r.3bsm	\
		getauevnonam.3bsm	\
		getauevnum.3bsm		\
		getauevnum_r.3bsm	\
		setauclass.3bsm		\
		setauevent.3bsm

au_close.3bsm		:= LINKSRC = au_open.3bsm
au_write.3bsm		:= LINKSRC = au_open.3bsm

au_to_arg.3bsm		:= LINKSRC = au_to.3bsm
au_to_arg32.3bsm	:= LINKSRC = au_to.3bsm
au_to_arg64.3bsm	:= LINKSRC = au_to.3bsm
au_to_attr.3bsm		:= LINKSRC = au_to.3bsm
au_to_cmd.3bsm		:= LINKSRC = au_to.3bsm
au_to_data.3bsm		:= LINKSRC = au_to.3bsm
au_to_groups.3bsm	:= LINKSRC = au_to.3bsm
au_to_in_addr.3bsm	:= LINKSRC = au_to.3bsm
au_to_ipc.3bsm		:= LINKSRC = au_to.3bsm
au_to_iport.3bsm	:= LINKSRC = au_to.3bsm
au_to_me.3bsm		:= LINKSRC = au_to.3bsm
au_to_newgroups.3bsm	:= LINKSRC = au_to.3bsm
au_to_opaque.3bsm	:= LINKSRC = au_to.3bsm
au_to_path.3bsm		:= LINKSRC = au_to.3bsm
au_to_process.3bsm	:= LINKSRC = au_to.3bsm
au_to_process_ex.3bsm	:= LINKSRC = au_to.3bsm
au_to_return.3bsm	:= LINKSRC = au_to.3bsm
au_to_return32.3bsm	:= LINKSRC = au_to.3bsm
au_to_return64.3bsm	:= LINKSRC = au_to.3bsm
au_to_socket.3bsm	:= LINKSRC = au_to.3bsm
au_to_subject.3bsm	:= LINKSRC = au_to.3bsm
au_to_subject_ex.3bsm	:= LINKSRC = au_to.3bsm
au_to_text.3bsm		:= LINKSRC = au_to.3bsm

endauclass.3bsm		:= LINKSRC = getauclassent.3bsm
getauclassent_r.3bsm	:= LINKSRC = getauclassent.3bsm
getauclassnam.3bsm	:= LINKSRC = getauclassent.3bsm
getauclassnam_r.3bsm	:= LINKSRC = getauclassent.3bsm
setauclass.3bsm		:= LINKSRC = getauclassent.3bsm

getauditflagsbin.3bsm	:= LINKSRC = getauditflags.3bsm
getauditflagschar.3bsm	:= LINKSRC = getauditflags.3bsm

endauevent.3bsm		:= LINKSRC = getauevent.3bsm
getauevent_r.3bsm	:= LINKSRC = getauevent.3bsm
getauevnam.3bsm		:= LINKSRC = getauevent.3bsm
getauevnam_r.3bsm	:= LINKSRC = getauevent.3bsm
getauevnonam.3bsm	:= LINKSRC = getauevent.3bsm
getauevnum.3bsm		:= LINKSRC = getauevent.3bsm
getauevnum_r.3bsm	:= LINKSRC = getauevent.3bsm
setauevent.3bsm		:= LINKSRC = getauevent.3bsm

.KEEP_STATE:

include		$(SRC)/man/Makefile.man

install:	$(ROOTMANFILES) $(ROOTMANLINKS)
